package com.macro.mall.dao.cms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.cms.CmsSubjectProductRelationDO;
import com.macro.mall.model.cms.CmsSubjectProductRelationQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CmsSubjectProductRelationMapper extends BaseMapper<CmsSubjectProductRelationDO> {
    long countByExample(CmsSubjectProductRelationQuery example);

    int deleteByExample(CmsSubjectProductRelationQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(CmsSubjectProductRelationDO record);

    int insertSelective(CmsSubjectProductRelationDO record);

    List<CmsSubjectProductRelationDO> selectByExample(CmsSubjectProductRelationQuery example);

    CmsSubjectProductRelationDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") CmsSubjectProductRelationDO record, @Param("example") CmsSubjectProductRelationQuery example);

    int updateByExample(@Param("record") CmsSubjectProductRelationDO record, @Param("example") CmsSubjectProductRelationQuery example);

    int updateByPrimaryKeySelective(CmsSubjectProductRelationDO record);

    int updateByPrimaryKey(CmsSubjectProductRelationDO record);
}
